creduiparseusername (credui)
Last changed: Juan Roman-65.218.234.35

.
Summary
Extracts the domain and user account name from a fully-qualified user name.

C# Signature:

[DllImport("credui.dll", EntryPoint="CredUIParserUserNameW", CharSet=CharSet.Unicode)]
private static extern CredUIReturnCodes CredUIParseUserName(
        string userName,
        StringBuilder user,
        int userMaxChars,
        StringBuilder domain,
        int domainMaxChars);

VB Signature:

TODO

User-Defined Types:

CredUIReturnCodes is a handy enum to use to interpret the integer return value.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

TODO

Documentation